package com.example.staservice.feiClien;

import com.example.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wlg
 * @create_time 2021-09-15 下午 18:03
 * @function
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    //查询某一天注册人数，给service_statistics模块调用
    @GetMapping("/educenter/member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);

}
